//
//  LocalURLCache.h
//  Vgo
//
//  Created by 21CN Vgo on 10-9-7.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface LocalURLCache : NSObject {
@private
	NSString *dataPath;
}

+ (LocalURLCache *)sharedLocalURLCache;

@property (nonatomic, copy) NSString *dataPath;

- (void) cacheData:(NSData *)theData withURL:(NSURL *)theURL;
- (NSData *) cachedDataWithURL:(NSURL *)theURL;
- (NSString *) cachedFileWithURL:(NSURL *)theURL;
- (void) removeCache:(NSURL *)theURL;

- (void) initCache;
- (void) clearCache;

@end
